From: Colin Walters Date: Tue, 30 Jun 2009 21:22:12 +0000 (-0400) Subject: Include NoDisplay applications in application data X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11248 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=09d9d91297cb8de4cb56b0f6739a3017d72d203d;p=gnome-shell.git Include NoDisplay applications in application data For now, we want to get Evince and Nautilus at least in the application list. --- diff --git a/src/shell-app-system.c b/src/shell-app-system.c index 6e7bfb0a7..50da81dfd 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -109,7 +109,11 @@ shell_app_system_init (ShellAppSystem *self) (GDestroyNotify)g_free, NULL); - priv->apps_tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_NONE); + /* For now, we want to pick up Evince, Nautilus, etc. We'll + * handle NODISPLAY semantics at a higher level or investigate them + * case by case. + */ + priv->apps_tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_INCLUDE_NODISPLAY); priv->settings_tree = gmenu_tree_lookup ("settings.menu", GMENU_TREE_FLAGS_NONE); gmenu_tree_add_monitor (priv->apps_tree, on_tree_changed, self);